<!doctype html>
<html>
<head>
 <title>IE7 {CSS2: auto}</title>

 <!-- Compliance patch for Microsoft browsers -->
 <!--[if lt IE 9]><script src="../trunk/lib/IE9.js"></script><![endif]-->

 <style>

  p:lang(en) {

   background-color: yellow;

  }

 </style>
</head>

<body lang="en-US">
 <script src="ie7-demo.js"></script>

 <h2>:lang()</h2>

 <p>Hello. This is a US English paragraph. It should be yellow.</p>
 <p lang="fr-Fr">Bonjour. This is a French paragraph. It should have no background color.</p>

 <p>&lt;&nbsp;<a href="index.html">back</a></p>
</body>
</html>
